package web.mapper;


import com.cnki.dataSource.DataSource;
import web.entity.User;

import java.util.HashMap;
import java.util.List;

//@Mapper
//@Component
//@DataSource("cnki_sc")
public interface UserDao {
    @DataSource("cnki_sc")
    List<User> getAllUser();

    @DataSource("cnki_sc")
    User selectOne(String account);

    @DataSource("cnki_sc")
    HashMap getDetail(String account);
}
